package com.gxa.hualian.service;

import com.gxa.hualian.exception.BusinessException;
import com.gxa.hualian.pojo.User;

import java.util.List;

/**
 * @Author ChenJin
 * @date 2021/10/18 10:36
 * Description:
 **/
public interface UserService {

    void add();

//    void delete();

    void test();

    void test2(String name);

    int test3();

    User selectById(Long id);

    int insert(User user);

    void delete(Long id) throws BusinessException;

    Boolean update(User user) throws BusinessException;

    List<User> selectAll();

    List<User> selectByLimit(Integer page,Integer size);

    List<User> selectBySearch(String value);
}
